package com.glp.work.flow.service;

import com.glp.work.flow.request.MessageEventReceivedRequest;
import com.glp.work.flow.request.OrderApprovalDTO;
import com.glp.work.flow.request.OrderBatchApprovalDTO;
import com.glp.work.flow.request.RejectToAssignNodeRequest;

import java.util.List;

/**
 * 工单管理服务
 *
 * @author jhuang1
 */
public interface WfProcessService {

    /**
     * 工单审核
     *
     * @param orderApprovalDTO 审核参数
     */
    String orderApproval(OrderApprovalDTO orderApprovalDTO);

	/**
	 * 中间消息通知
	 * @param messageEventReceivedRequest
	 */
	void messageEventReceived(MessageEventReceivedRequest messageEventReceivedRequest);
	
	/**
	 * @description : 批量审批工单
	 * @params : [orderBatchApprovalDTO]
	 * @returns : java.util.List<java.lang.String>
	 * @author : 郭永伟
	 * @date : 2020/9/9
	*/
    List<String> orderBatchApproval(OrderBatchApprovalDTO orderBatchApprovalDTO);
}
